cmake_minimum_required(VERSION 3.0.0)
project(slave VERSION 0.1.0)

include(CTest)
enable_testing()

include_directories(./header)

set(SOURCES
    src/1.test.c
    src/parse_conf.c
)

add_executable(slave ${SOURCES})

target_link_libraries(slave -lcjson)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
